package com.meng.vo;

import com.meng.pojo.TUser;

import java.util.List;

public class ActiverUser {
    //当前用户
    private TUser currentUser;
    //当前用户角色
    private List<String> roles;
    //当前用户权限
    private List<String> permission;

    public TUser getCurrentUser() {
        return currentUser;
    }

    public void setCurrentUser(TUser currentUser) {
        this.currentUser = currentUser;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<String> getPermission() {
        return permission;
    }

    public void setPermission(List<String> permission) {
        this.permission = permission;
    }

    @Override
    public String toString() {
        return "ActiverUser{" +
                "currentUser=" + currentUser +
                ", roles=" + roles +
                ", permission=" + permission +
                '}';
    }
}
